
#@layoutT('')
#define main()
   #@table()
#end

#define js()
<!-- 分页表格 -->
<script>
    gridArgs.title='';
    gridArgs.dataId='id';
    gridArgs.deleteUrl='#(path)/word/delete';
    gridArgs.updateUrl='#(path)/word/edit/';
    gridArgs.addUrl='#(path)/word/add';
    gridArgs.gridDivId ='maingrid';
    initGrid({id : 'maingrid'
        ,elem : '#maingrid'
        ,toolbar:'default'
        ,cellMinWidth: 100
        ,cols : [ [
				 {title: '主键',field : 'id',width : 35,checkbox : true},
				 {title:'序号',type:'numbers',width:35},
				 {title:'用户编码',field:'user_code'},
				 {title:'名称',field:'name'},
				 {title:'话术',field:'content'},
				 {title:'创建时间',field:'create_time'},
				 {title:'修改时间',field:'update_time'},

            {fixed:'right',width : 180,align : 'left',toolbar : '#bar_maingrid'}
            ] ]
        ,url:"#(path)/word/list"
        ,searchForm : 'searchForm'
    });



</script>
#end



